<?php
namespace app\admin\controller;

class Index extends Kingsvn
{
    public function index()
    {
        return $this->fetch();
    }
    
    public function sleep(){
        sleep(1);
        $return['flag']=true;
        $return['msg']='操作成功';
        $return['url']='http://www.baidu.com';
        exit(json_encode($return));
    }
    
    
    public function add(){
        return $this->fetch();
    }
}
